SET(LIBHV_ROOT ${PROJECT_SOURCE_DIR}/../libhv)

AUX_SOURCE_DIRECTORY(. SRC_LIST)

MESSAGE(STATUS "SRC_LIST: ${SRC_LIST}")

INCLUDE_DIRECTORIES(
    ${LIBHV_ROOT}/include
)

LINK_DIRECTORIES(
    ${LIBHV_ROOT}/lib
)

ADD_EXECUTABLE(future ${SRC_LIST})
TARGET_LINK_LIBRARIES(future hv pthread)
